@import (reference) "~weaver-mobile/dist/weaver-mobile.less";

.wf-signList-tab {
  padding-top: 45 * @hd;

  .wf-sign-list-tab-info-tab {
    margin-top: -45 * @hd;
  }
}

.wf-signList {
  height: 100%;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  .wf-sign-list-tab-info {
    background: #FFF;
    border-bottom: 1 * @hd solid #E2E2E2;
    .wf-sign-list-tab {
      height: 44 * @hd;
      font-size: 14 * @hd;
      color: #333;
      text-align: center;

      .tab-item {
        .tab-name {
          height: 20 * @hd;
          line-height: 20 * @hd;
        }

        .tab-split-line {
          border-right: 1 * @hd solid #DDD;
        }

        .tab-item-icon {
          width: 14 * @hd;
          height: 14 * @hd;
          color: #D1D1D6;
          margin-left: 3 * @hd;
          position: relative;
          top: 2 * @hd;
        }
      }

      .tab-item-selected {
        color: #55B1F9;
      }

    }
    .wf-sign-refwfs {
      .wf-sign-refwf-list {
        position: absolute;
        z-index: 100;
        width: 100%;
        padding: 0 * @hd;
        margin: 0 * @hd;
        background: #F3F7FE;
        overflow: auto;
        max-height: 60%;
        .wf-sign-refwf-item {
          line-height: 18 * @hd;
          font-size: 14 * @hd;
          padding-left: 5 * @hd;
          color: #333;
          padding: 5 * @hd  15 * @hd;
        }
        .refwf-bottom-border {
          border-bottom: 1 * @hd  solid #DDD;
        }
      }
    }

  }

  .wf-signList-scrollContent-tab {
    overflow: auto;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .wf-signList-scrollContent {
    background: #F3F7FE;
    .ref-req-info {
      padding: 5 * @hd  10 * @hd;
      line-height: 20 * @hd;
      padding-left: 10 * @hd;
      background: #FFF;
      border-top: 1 * @hd  solid #DDD;
      font-size: 14 * @hd;
      a {
        padding: 0 * @hd  5 * @hd;
        color: #63B7FA;
      }
    }
    .am-card {
      .am-card-footer {
        width: 100%;
        box-sizing: border-box;
        .am-card-footer-content {
          width: 100%;
        }
      }
    }
  }

  .am-activity-indicator-sm {
    padding-left: 50%;
    padding-top: 5px;
    padding-bottom: 5px;
    .am-activity-indicator-spinner {
      position: relative;
      left: -15px;
      width: 30px;
      height: 30px;
    }
  }
  .am-card {
    padding-bottom: 0 * @hd;
    border-bottom-color: #EEE9E9;
    border-top: 0px;
    .cardHeader {
      padding-bottom: 0;

      .sign-item-top {
        margin-left: 8 * @hd;

        .user-name {
          font-size: 14 * @hd;
          color: #333;
          line-height: 20 * @hd;

          .user-name-click{
            color: #55b1f9;
          }
        }
        .user-dept {
          font-size: 14 * @hd;
          color: #999;
        }
      }

    }
    .cardBody {
      border-top: none;
      padding: 6 * @hd  0pc  0px 15 * @hd;
      .small_pic {
        img {
          max-height: 100 * @hd;
          max-width: 150 * @hd;
        }
      }
      .remark-content-resource {
        margin-top: 10 * @hd;
        margin-bottom: 10 * @hd;
        .remark-content-resource-type {
          margin-bottom: 5 * @hd;

          .am-icon {
            padding-top: 5 * @hd;
            color: #868686;
          }

          .content-rignt-main {
            display: inline-block;
            width: 90%;
            //width: calc(100% - 50px);
            vertical-align: top;
            margin-left: 10 * @hd;
            .content-resource-item {
              line-height: 23 * @hd;
              font-size: 14 * @hd;
              color: #333;
            }
            .wf-sign-url {
              color: #55B1F9;
            }
          }
        }
      }
      .content-right-remark-html {
        word-wrap: break-word;
        word-break: normal;
        font-size: 14 * @hd;
        margin-right: 5 * @hd;
        overflow-x: auto;
        overflow-y: hidden;
        .container_form_wrap {
          margin-bottom: 10 * @hd;
          padding-left: 10 * @hd;
          text-indent: 0 * @hd;
          position: relative;
          font-family: "微软雅黑";
          border: 1 * @hd  solid #ddeaf6;
          background: #f9fcff;
          padding-bottom: 10 * @hd;
          padding-right: 10 * @hd;
          text-overflow: ellipsis;
          overflow: hidden;
          .remark-quote {
            padding-left: 10 * @hd;
            padding-right: 10 * @hd;
            width: 98%;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            line-height: 20 * @hd;
          }
          .container_form_wrap_span {
            text-indent: 0 * @hd;
            padding-left: 10 * @hd;
            color: #333333;
            font-family: "微软雅黑";
            font-size: 12 * @hd;
            line-height: 36 * @hd;
          }
          .container_form_wrap_delete {
            position: absolute;
            right: 30 * @hd;
            top: 30 * @hd;
            font-size: 22 * @hd;
          }
          p, span {
            padding: 0;
            padding-left: 0 !important;
          }
        }
        .blank {
          height: 10 * @hd;
        }

      }

      .sign-item-receive {
        font-size: 14 * @hd;
        color: #868686;
        border-bottom: 1 * @hd  solid #EEE9E9;
        padding-bottom: 5 * @hd;

        .receive-time {
          line-height: 20 * @hd;
        }

        .receive-user {
          line-height: 20 * @hd;
        }

        .receive-user-more {
          max-height: 60 * @hd;
          //display: -webkit-box;
          //-webkit-box-orient: vertical;
          //-webkit-line-clamp: 2;
          //overflow: hidden;

          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 3;
          display: -webkit-box;
          -webkit-box-orient: vertical;
        }

        .show-more {
          position: relative;
          width: 100%;
          .show-more-btn {
            width: 100%;
            position: absolute;
            height: 55 * @hd;
            line-height: 20 * @hd;
            text-align: center;
            top: -40 * @hd;
            background: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
            .am-icon-md {
              width: 13 * @hd;
              height: 12 * @hd;
              padding-top: 38 * @hd;
            }

            .title {
              margin-left: 5 * @hd;
            }
          }
        }
      }

      .content-right-ca-auth, .content-right-qys-auth {
        width: 30px;
        height: 30px;
        cursor: pointer;
      }

      .content-right-qys-signature {
        cursor: pointer;
        display: inline-block;
        position: relative;
        margin: 5px 0;
      }

      .content-right-ca-auth {
        background: url("images/ca-check.png")  0 0 no-repeat;
      }

      .content-right-ca-auth-success {
        background: url("images/ca-check-success.png") 0 0 no-repeat;
      }

      .content-right-ca-auth-failed {
        background: url("images/ca-check-failed.png") 0 0 no-repeat;
      }

      .content-right-qys-auth {
        background: url("images/qys-check.png")  0 0 no-repeat;
      }

      .content-right-qys-auth-success {
        background: url("images/qys-check-success.png") 0 0 no-repeat;
      }

      .content-right-qys-auth-failed {
        background: url("images/qys-check-failed.png") 0 0 no-repeat;
      }

      .content-right-qys-signature-failed > div {
        position: absolute;
        height: 20%;
        width: 80%;
        top: 38%;
        margin: 0 10%;
        border-top: 4px solid #e5e5e5;
        border-bottom: 4px solid #e5e5e5;
      }
    }
    .cardFooter {
      .footerBotton {
        height: 43 * @hd;
        line-height: 43 * @hd;
        text-align: right;
        .btn {
          display: inline-block;
          margin-left: 22 * @hd;

          .btn-title {
            font-size: 14 * @hd;
            color: #333;
            margin-left: 8 * @hd;
          }

          .am-icon {
            position: relative;
            top: 3 * @hd;
          }
        }
      }
      .communication-folder-panel {
        text-align: center;
        margin-bottom: 10px;
        .word-span {
          margin-right: 10px;
        }
        .am-icon {
          position: relative;
          top: 4px;
          right: 4px;
        }
      }
      .comment-list-wrap {
        border: 1px solid #e2e2e2;
        margin-bottom: 10px;
        text-align: left;
        .wm-comment-list {
          height: auto;
          .wm-comment-scrollview-content {
            position: static !important;
            .wm-comment-list-container {
             padding-bottom: 0 !important;
            }
            .wm-comment-list-container:not(:last-child) {
              border-bottom: 1px dashed #e2e2e2;
            }
            .wm-comment-reply {
              .wm-comment-childReply:not(:last-child) {
                border-bottom: 1px dashed #dcdcdc;
              }
              .wm-comment-line {
                display: none;
              }
            }
          }
          p{
            margin: 0;
            padding: 0;
          }
          .am-list-footer {
            display: none;
          }
          .wm-comment-list-container {
            .wm-comment-content {
              .wm-comment-content-msg {
                img {
                  max-width: 150px;
                  max-height: 150px;
                }
              }
            }
            .wm-comment-head-msg-section {
              display: none;
            }
          }
        }
      }
    }
  }
  .wf-req-bottom {
    height: 44 * @hd;
    line-height: 44 * @hd;
    text-align: center;
    background: #FFF;

    .wf-req-bottom-sign {
      width: 20%;
      padding-top: 6 * @hd;
    }
    .wf-req-bottom-btn {
      font-size: 14 * @hd;
      width: 26%;
    }
    .wf-req-bottom-more {
      float: right;
      width: 19.5%;
    }
    .wf-req-bottom-split {
      margin-top: 12 * @hd;
      width: 2%;

      .wf-req-bottom-split-line {
        width: 1 * @hd;
        height: 20 * @hd;
        background-color: #DDD;
        margin: auto;
      }
    }
    .related-req-sign {
      position: absolute;
      top: 40 * @hd;
      left: 0;
      background: #666;
      width: 100%;
      z-index: 999;
      font-size: 14 * @hd;
    }
  }
  .wf-req-bottom > div {
    float: left;
  }


}

.wf-voice-playback {

}

.wf-req-form-signlist-title {
  height: 44 * @hd;
  line-height: 44 * @hd;
  width: 100%;
  font-size: 14 * @hd;
  color: #55B1F9;

  span{
    border-left: 4* @hd solid #55B1F9;
    padding-left: 10 * @hd;
    margin-left: 16 * @hd;
  }
}